package cn.edu.hbpu.pojo;

import java.util.List;

public class Teacher {
    private Long id;

    private String teacherName;

    private String mobile;

    private String email;

    private String teacherPassword;

    private String realName;

    private String headImage;

    private List<Role> roles;

    public Teacher(Long id, String teacherName, String mobile, String email, String teacherPassword, String realName, String headImage) {
        this.id = id;
        this.teacherName = teacherName;
        this.mobile = mobile;
        this.email = email;
        this.teacherPassword = teacherPassword;
        this.realName = realName;
        this.headImage = headImage;
    }

    public Teacher() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName == null ? null : teacherName.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getTeacherPassword() {
        return teacherPassword;
    }

    public void setTeacherPassword(String teacherPassword) {
        this.teacherPassword = teacherPassword == null ? null : teacherPassword.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage == null ? null : headImage.trim();
    }

    public List<Role> getRoles() {
        return roles;
    }

    public void setRoles(List<Role> roles) {
        this.roles = roles;
    }
}